package com.yanqu.road.server.command.api;

import com.google.protobuf.GeneratedMessage;

import java.util.List;

/**
 * wmm
 * 2023/2/5
 */
public class CmdMetaInfo {

    private int code;

    private String name;

    private Class<? extends GeneratedMessage> reqMsgCls;

    private Class<? extends GeneratedMessage> respMsgCls;

    private CmdMsgInfo reqMsg;

    private CmdMsgInfo respMsg;

    private List<CmdParamMetaInfo> reqParamList;

    private List<CmdParamMetaInfo> respParamList;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Class<? extends GeneratedMessage> getReqMsgCls() {
        return reqMsgCls;
    }

    public void setReqMsgCls(Class<? extends GeneratedMessage> reqMsgCls) {
        this.reqMsgCls = reqMsgCls;
    }

    public Class<? extends GeneratedMessage> getRespMsgCls() {
        return respMsgCls;
    }

    public void setRespMsgCls(Class<? extends GeneratedMessage> respMsgCls) {
        this.respMsgCls = respMsgCls;
    }

    public CmdMsgInfo getReqMsg() {
        return reqMsg;
    }

    public void setReqMsg(CmdMsgInfo reqMsg) {
        this.reqMsg = reqMsg;
    }

    public CmdMsgInfo getRespMsg() {
        return respMsg;
    }

    public void setRespMsg(CmdMsgInfo respMsg) {
        this.respMsg = respMsg;
    }

    public List<CmdParamMetaInfo> getReqParamList() {
        return reqParamList;
    }

    public void setReqParamList(List<CmdParamMetaInfo> reqParamList) {
        this.reqParamList = reqParamList;
    }

    public List<CmdParamMetaInfo> getRespParamList() {
        return respParamList;
    }

    public void setRespParamList(List<CmdParamMetaInfo> respParamList) {
        this.respParamList = respParamList;
    }
}
